<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="static/css/admin/style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="static/js/common.js"></script>
</head>
<body>
<div class="colorarea01">
<div class="search clearfix">
		<div class="searchL">
			<ul class="menulist">
				<li><a href="<{$adminpage}>?m=templates_category&a=list" class="list">返回模板列表</a></li>
                <li><a href="<{$adminpage}>?m=templates&a=add&dir=<{$dir}>" class="combutton">+添加模版</a></li>
			</ul>
		</div>
	</div>
<form action="<{$adminpage}>?m=templates" method="post" name="form">
<table cellspacing="0" cellpadding="0" width="100%"  class="listtable">
</th><th align="left">文件</th><th>说明</th><th  width='80'>操作</th></tr>
<{foreach from=$templateslist key=key item=templates}>
<tr>
<td align="left"><{$templates.name}></td>
<td align="center"><input type="text" name="name[<{$templates.id}>]" value="<{$templates.detail}>"></td>
<td align="center">[<a href="<{$adminpage}>?m=templates&a=edit&filename=<{$templates.name}>&dir=<{$dir}>">编辑</a>]
</td>
</tr>
<{/foreach}>
</table>
</form>
<div class="listpage"><{$button_basic}><{$button_select}></div>
<!--<div class="search clearfix">
	<div class="searchL">
		<a href="<{$adminpage}>?m=templates&a=add&dir=<{$dir}>" class="combutton">+添加模版</a>
	</div>
</div>-->
</body>
</html>